package educationaladministrationsystem.CSM.Mapper.StudentAndTeacher.Student;

import educationaladministrationsystem.Class.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface StudentCourseScheduleMapper {
    @Select("select classId from studentwithcourse where studentId=#{id}")
    List<String> getStudentCourse(String id);

    @Select("select * from course where id=#{id}")
    Course getCourseByCourseId(String id);
}
